package common;

public class Result {

	// 支付状态
	private boolean state = false;
	// 返回码
	private String stateCode = "";
	// 返回信息
	private String stateMessage = "";
	// 风险状态
	private boolean risk = false;
	// 风险返回码
	private String riskCode = "";
	// 风险返回信息
	private String riskMessage = "";
	// 报警状态
	private boolean alert = false;
	// 报警返回码
	private String alertCode = "";
	// 报警返回信息
	private String alertMessage = "";
	// 隐藏状态
	private boolean hide = false;
	// 隐藏返回码
	private String hideCode = "";
	// 隐藏返回信息
	private String hideMessage = "";


	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("==============================");
		sb.append("\n");
		sb.append("state : " + state);
		sb.append("\n");
		sb.append("stateCode : " + stateCode);
		sb.append("\n");
		sb.append("stateMessage : " + stateMessage);
		sb.append("\n");
		sb.append("risk : " + risk);
		sb.append("\n");
		sb.append("riskCode : " + riskCode);
		sb.append("\n");
		sb.append("riskMessage : " + riskMessage);
		sb.append("\n");
		sb.append("alert : " + alert);
		sb.append("\n");
		sb.append("alertCode : " + alertCode);
		sb.append("\n");
		sb.append("alertMessage : " + alertMessage);
		sb.append("\n");
		sb.append("hide : " + hide);
		sb.append("\n");
		sb.append("hideCode : " + hideCode);
		sb.append("\n");
		sb.append("hideMessage : " + hideMessage);
		sb.append("\n");
		sb.append("==============================");
		return sb.toString();
	}

	public boolean isState() {
		return state;
	}

	public void setState(boolean state) {
		this.state = state;
	}

	public String getStateCode() {
		return stateCode;
	}

	public void setStateCode(String stateCode) {
		this.stateCode = stateCode;
	}

	public String getStateMessage() {
		return stateMessage;
	}

	public void setStateMessage(String stateMessage) {
		this.stateMessage = stateMessage;
	}

	public boolean isRisk() {
		return risk;
	}

	public void setRisk(boolean risk) {
		this.risk = risk;
	}

	public String getRiskCode() {
		return riskCode;
	}

	public void setRiskCode(String riskCode) {
		this.riskCode = riskCode;
	}

	public String getRiskMessage() {
		return riskMessage;
	}

	public void setRiskMessage(String riskMessage) {
		this.riskMessage = riskMessage;
	}

	public boolean isAlert() {
		return alert;
	}

	public void setAlert(boolean alert) {
		this.alert = alert;
	}

	public String getAlertCode() {
		return alertCode;
	}

	public void setAlertCode(String alertCode) {
		this.alertCode = alertCode;
	}

	public String getAlertMessage() {
		return alertMessage;
	}

	public void setAlertMessage(String alertMessage) {
		this.alertMessage = alertMessage;
	}

	public boolean isHide() {
		return hide;
	}

	public void setHide(boolean hide) {
		this.hide = hide;
	}

	public String getHideCode() {
		return hideCode;
	}

	public void setHideCode(String hideCode) {
		this.hideCode = hideCode;
	}

	public String getHideMessage() {
		return hideMessage;
	}

	public void setHideMessage(String hideMessage) {
		this.hideMessage = hideMessage;
	}

	

}
